<?php

use think\facade\Route;

//关于我们及备案配置信息
Route::rule('systemConfigData', 'SystemConfig/getData');

//通知公告
Route::rule('noticeList', 'Notice/index');
Route::rule('noticeIndexList', 'Notice/indexList');
Route::rule('noticeDetail/:id', 'Notice/detail');

//留言
Route::rule('messageList', 'Message/index');
Route::rule('saveMessage', 'Message/save','POST');
Route::rule('messageDetail/:id', 'Message/detail');

//系统公用数据配置
Route::rule('getCategory','Category/getCategory');
Route::rule('getCategoryMultiple', 'Category/getCategoryMultiple','POST');
Route::rule('getCategoryByPid', 'Category/getCategoryByPid','GET');

//轮播图
Route::rule('swiperList', 'Swiper/index');
Route::rule('imageDetail/:id', 'Swiper/detail');

//视频集锦
Route::rule('videoList', 'Video/index');
Route::rule('videoDetail/:id', 'Video/detail');

//领导之窗
Route::rule('leadershipList/:type', 'Leadership/index');
#Route::rule('leadershipDetail/:id', 'Leadership/detail');

//关于我们详情
Route::rule('pageDetail', 'Page/detail');

//友情链接
Route::rule('linksList', 'Links/index');
